All Questions
20 questions
0votes
1answer
159views
Upgrade security and code quality of a website contact form
I have a simple website contact form created back in 2017. The form was developed using PHP, PHPMailer, jQuery, HTML and CSS. I would like to make sure the code is up to modern standards and secure. I ...
1vote
3answers
1kviews
Hide or show table rows as a hierarchy
I'm using PHP HTML and JavaScript to write questions that need to be shown/hidden based on inputs from the user. I have several rows in a table, each row contains a ...
2votes
1answer
557views
A basic arithmetic calculator
I mostly need feedback on the client-side JS. Calculator.html is mostly a big button array made in Bootstrap. ...
1vote
2answers
106views
Jquery code is sloppy
my shoppingcart is working but i used to many var and functions and i think it looks sloppy. i dont know how to set it right. here is the Jsfiddle link: https://jsfiddle.net/z0c1ja37/ can someone ...
3votes
1answer
3kviews
Displaying a price quote depending on the selected number of rooms
I've written a WordPress plugin that displays a price quote based on what options are chosen in the settings and then what the user chooses with HTML <select> ...
2votes
2answers
141views
Snippet menu using jQuery and PHP
I have been trying to manage users using jQuery & PHP instead using just PHP because I think it is more comfortable to use jQuery & PHP but using just PHP is easier at my personal point though ...
2votes
1answer
188views
Creating a login page
I have created a test login page that, as most do, takes in two values from the user (username and password) and the processes it. For this I have opted to use jQuery and AJAX to pass the results to ...
6votes
1answer
93views
PHP Image Uploader
I have a website, where one of the options that a user gets is to change their avatar. I would like to know if there is anything that I shouldn't or should be doing... So here is what I've got. Here ...
5votes
1answer
8kviews
MySQL data fetching without page refresh
I've recently finished a prototype for a little Raspberry Pi website. The main page of the site displays current users found in the room (through bluetooth). I wanted this list updated regularly from ...
2votes
1answer
70views
Website register functionality
I have two links in my header: Register Login I am not creating it dynamically. If the user clicks on "login," the login form will be visible, similarly for the register form. My registration: ...
5votes
1answer
847views
Script to upload CV with cookie control
I have created a script which presents a popup on every 5th pageview. I would like to try to use just PHP cookies. However, due to the requirement of setting them before any content is output, it ...
4votes
3answers
964views
Is my login system secure?
I am recently making a CMS and I need a secure login system, so this is my code. How is it? First: the HTMLcode for signup and login: ...
2votes
2answers
105views
Protecting webpage text from being selected
I've got a text I don't want to be copied by users. To avoid that, I'm using this code: index.php ...
6votes
1answer
473views
Using/storing server-side data on the client side
I've a slot booking script which is as follows: My Current Algorithm A calendar is shown to the user The user clicks on a date I make an ajax call to determine if at least 1 slot is booked on the ...
4votes
1answer
3kviews
Script for adding a set of form fields on clicking an Add More button
This is a script that I use to add a set of form fields on clicking an Add More button: ...